package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfMemberInvitationDao;
import com.wfcm.entity.WfMemberInvitationEntity;
import com.wfcm.service.WfMemberInvitationService;



@Service("wfMemberInvitationService")
public class WfMemberInvitationServiceImpl implements WfMemberInvitationService {
	@Autowired
	private WfMemberInvitationDao wfMemberInvitationDao;
	
	@Override
	public WfMemberInvitationEntity queryObject(Integer id){
		return wfMemberInvitationDao.queryObject(id);
	}
	
	@Override
	public List<WfMemberInvitationEntity> queryList(Map<String, Object> map){
		return wfMemberInvitationDao.queryList(map);
	}
	
	@Override
	public List<WfMemberInvitationEntity> queryinvited(Map<String, Object> map){
		return wfMemberInvitationDao.queryinvited(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfMemberInvitationDao.queryTotal(map);
	}
	
	@Override
	public void save(WfMemberInvitationEntity wfMemberInvitation){
		wfMemberInvitationDao.save(wfMemberInvitation);
	}
	
	@Override
	public void update(WfMemberInvitationEntity wfMemberInvitation){
		wfMemberInvitationDao.update(wfMemberInvitation);
	}
	
	@Override
	public void delete(Integer id){
		wfMemberInvitationDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfMemberInvitationDao.deleteBatch(ids);
	}
	
}
